package com.ojoin.trade.supplyloan_core.web.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.ojoin.trade.common.web.domain.IDentifiable;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
@JsonIgnoreProperties(ignoreUnknown = true)
public class TbSlCreditControll implements IDentifiable, Serializable {
    private Integer id;

    private Integer idOfMerchant;

    private String amount;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date rowUpdateTime;

    private Date rowCreateTime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getIdOfMerchant() {
        return idOfMerchant;
    }

    public void setIdOfMerchant(Integer idOfMerchant) {
        this.idOfMerchant = idOfMerchant;
    }

    public String getAmount() {
        return amount;
    }

    public void setAmount(String amount) {
        this.amount = amount == null ? null : amount.trim();
    }

    public Date getRowUpdateTime() {
        return rowUpdateTime;
    }

    public void setRowUpdateTime(Date rowUpdateTime) {
        this.rowUpdateTime = rowUpdateTime;
    }

    public Date getRowCreateTime() {
        return rowCreateTime;
    }

    public void setRowCreateTime(Date rowCreateTime) {
        this.rowCreateTime = rowCreateTime;
    }

    @Override
    public String getTableName() {
        return "tb_sl_credit_controll";  //To change body of implemented methods use File | Settings | File Templates.
    }
}